package com.wmx.hello;

import cn.hutool.core.date.DateTime;
import cn.hutool.core.date.DateUtil;
import org.springframework.stereotype.Repository;

/**
 * @author wangMaoXiong
 * @version 1.0
 * @date 2021/11/14 16:12
 */
@Repository
public class HelloDao {

    /**
     * sayHello
     *
     * @param msg
     * @return
     */
    public String sayHello(String msg) {
        DateTime dateTime = DateUtil.date();
        msg = dateTime + "：" + msg;
        return msg;
    }
}
